package com.tensquare.article.service;

import com.tensquare.article.pojo.Comment;

import java.util.List;

/**
 * 评论(Comment)表服务接口
 *
 * @author long
 */
public interface CommentService {

    Comment findById(String id);

    List<Comment> findAll();

    void save(Comment comment);

    void update(Comment comment);

    void deleteById(String id);

    List<Comment> findByArticleId(String article);

    void thumbUp(String id,String userId);
}
